package com.jsnu.xiaochi.pojo;

public class Favorite {
    private Integer id;

    private String username;

    private String foodId;

    public Favorite(Integer id, String username, String foodId) {
        this.id = id;
        this.username = username;
        this.foodId = foodId;
    }

    public Favorite() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getFoodId() {
        return foodId;
    }

    public void setFoodId(String foodId) {
        this.foodId = foodId == null ? null : foodId.trim();
    }
}